package com.okaixz.common.constant;

/**
 * @author 陈大专
 * @time 2024/10/14 21:25
 * @des 返回码在请求码上加1000；
 **/
public class WsRequestCode {
    public static final int GET_QRCODE = 0;//获取登录二维码链接
    public static final int XIE_ZUO = 1;//写作请求
    public static final int WX_PAY = 2;//微信支付
    public static final int GET_USER_INFO = 3;//获取用户信息
    public static final int SAVE_USER_INFO = 4;//保存用户信息

    public static final int RESULT = 1000;

    public static int getResultCode(int requestCode) {
        return requestCode + RESULT;
    }
}
